<style>
    div { background:gray; overflow:scroll; float:left; margin-right:5px; }
</style>
<div style="width:31px; height:31px;">
    ABC ABC ABC ABC ABC
</div>
<div style="width:32px; height:32px;">
    ABC ABC ABC ABC ABC
</div>
<div style="width:47px; height:47px;">
    ABC ABC ABC ABC ABC
</div>
<div style="width:48px; height:48px;">
    ABC ABC ABC ABC ABC
</div>